<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coin_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-coin_type" class="form-control" name="row[coin_type]" type="text" value="{$row.coin_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" class="form-control" step="0.0001" name="row[price]" type="number" value="{$row.price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Withdraw_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="withdrawStatusList" item="vo"}
            <label for="row[withdraw_status]-{$key}"><input id="row[withdraw_status]-{$key}" name="row[withdraw_status]" type="radio" value="{$key}" {in name="key" value="$row.withdraw_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Withdraw_handling_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdraw_handling_fee" data-rule="required" class="form-control" step="0.01" name="row[withdraw_handling_fee]" type="number" value="{$row.withdraw_handling_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Withdraw_lowest')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdraw_lowest" data-rule="required" class="form-control" step="0.000001" name="row[withdraw_lowest]" type="number" value="{$row.withdraw_lowest|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('最低充值')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-recharge_lowest" data-rule="required" class="form-control" step="0.000001" name="row[recharge_lowest]" type="number" value="{$row.recharge_lowest|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transfer_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="transferStatusList" item="vo"}
            <label for="row[transfer_status]-{$key}"><input id="row[transfer_status]-{$key}" name="row[transfer_status]" type="radio" value="{$key}" {in name="key" value="$row.transfer_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transfer_handling_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transfer_handling_fee" data-rule="required" class="form-control" step="0.01" name="row[transfer_handling_fee]" type="number" value="{$row.transfer_handling_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transfer_lowest')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transfer_lowest" data-rule="required" class="form-control" step="0.000001" name="row[transfer_lowest]" type="number" value="{$row.transfer_lowest|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
